﻿@page "/lotteries/editlottery/{Id}"
@attribute [Authorize(Roles = "Admin")]

@inject IDataCacheService _dataCacheService

<MakeSureInWASMTip>
    <CnGalWebSite.Shared.Pages.Webs.Lotteries.EditLottery Id="@Id" />
</MakeSureInWASMTip>




@code{
    [Parameter]
    public string Id { get; set; }

    protected override void OnInitialized()
    {
        //清空当前缓存
        _dataCacheService.LotteryIndexPageCatche.Clean(Id);
    }
}
